/// 接收授权回调的数据
class CallbackResult {
  int code;
  int msg;
  dynamic data;

  CallbackResult({
    required this.code,
    required this.msg,
    required this.data,
  });

  factory CallbackResult.fromJson(Map<String, dynamic> json) {
    return CallbackResult(
        code: json['code'], msg: json['msg'], data: json['data']);
  }

  Map<String, dynamic> toJson() {
    return {
      'code': code,
      'msg': msg,
      'data': data,
    };
  }
}
